extends Line2D


const MAX_POINT = 10

@onready var player: CharacterBody2D = $"../Player"


func _physics_process(_delta: float) -> void:
	add_point(player.position)
	if points.size() > MAX_POINT:
		remove_point(0)
